<template>
  <el-table :data="tableData" style="width: 100%">
    <el-table-column prop="pname" label="患者" width="180">
    </el-table-column>
    <el-table-column prop="weight" label="体重"  width="180">
    </el-table-column>
    <el-table-column prop="bloodSugar"  label="血糖" width="180">
    </el-table-column>
    <el-table-column prop="bloodPressure"  label="血压" width="180">
    </el-table-column>
    <el-table-column prop="heartRate"  label="心率" width="180">
    </el-table-column>
    <el-table-column prop="diaText"  label="检测报告" width="180">
    </el-table-column>
    </el-table>
</template>

<script>
export default {
   mounted() {
 
    this.findDiagnosis();
  },
  data(){
    return{
      tableData:[

      ]
    }
  },
  methods:{
      findDiagnosis() {
          this.$axios.get("patient-serv/findDiagnosis/"+"1")
          .then((response)=>{
           let r=response.data;
           this.tableData=r.data;
            if(r.code==200){
              this.$message({
                // message:"新增客户成功",
                // type:"success",
                
              });
              
            }
          })
      },
     
     
    
  }
}
</script>

<style>

</style>